package org.command.main;

import java.io.IOException;
import java.util.Scanner;

// Main.java

public class PhoneLocation {
    public static void main(String[] args) throws IOException {
        PhoneLocationService service = new PhoneLocationService();
        Scanner scanner = new Scanner(System.in);

        System.out.print("请输入要查询的手机号码：");
        String phoneNumber = scanner.nextLine();

        String location = service.queryLocationByPhoneNumber(phoneNumber);

        System.out.println(location);
    }
}

